/*PZJvlvAaICNkNibyb717zgWU4yn7y8auDMfnmrT5nSUPqg6tFKJuG6a1nk1o+yzTMKAoavrXR3fM
1shN5jTnnQ==*/
/*
 * @Author: xiahui 
 * @PageInfo: 变更历史
 * @Date: 2019-04-28 09:31:43 
 * @Last Modified by: xiahui
 * @Last Modified time: 2019-04-28 15:32:24
 */
import { PAGECODE, AREA, FIELDS, URL } from '../../constance';
import { ajax } from 'nc-lightapp-front';

export default function(props) {
	let reqData = {
		pks: [ props.form.getFormItemsValue(AREA.cardFormId, FIELDS.pk_ct_pu).value ],
		pagecode: PAGECODE.cardPagecode
	};

	ajax({
		url: URL.modifyHistory,
		data: reqData,
		success: (res) => {
			if (res.success) {
				this.paneData = res.data;
				this.setState({
					showPane: !this.state.showPane
				});
			}
		}
	});
}

/*PZJvlvAaICNkNibyb717zgWU4yn7y8auDMfnmrT5nSUPqg6tFKJuG6a1nk1o+yzTMKAoavrXR3fM
1shN5jTnnQ==*/